projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50cdc10
)
[IA64] Make xenitp more '|tee' friendly
author
Alex Williamson
<alex.williamson@hp.com>
Wed, 13 Feb 2008 17:34:18 +0000
(10:34 -0700)
committer
Alex Williamson
<alex.williamson@hp.com>
Wed, 13 Feb 2008 17:34:18 +0000
(10:34 -0700)
Flush stdout after printing the prompt.
Signed-off-by: Tristan Gingold <tgingold@free.fr>
tools/debugger/xenitp/xenitp.c
patch
|
blob
|
history
diff --git
a/tools/debugger/xenitp/xenitp.c
b/tools/debugger/xenitp/xenitp.c
index bc82ee6a2300cee0ecd6badcdb23542da17b9822..5bd366e4fa07c5e383ac639760bd3065f132c2bf 100644
(file)
--- a/
tools/debugger/xenitp/xenitp.c
+++ b/
tools/debugger/xenitp/xenitp.c
@@
-1577,6
+1577,7
@@
void xenitp (int vcpu)
int len;
printf ("XenITP> ");
+ fflush (stdout);
if (fgets (buf, sizeof (buf), stdin) == NULL)
break;